package com.guofen.dao;

import com.guofen.pojo.SjqWaterProductionInspectionEquipment;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqWaterProductionInspectionEquipmentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqWaterProductionInspectionEquipment record);

    int insertSelective(SjqWaterProductionInspectionEquipment record);

    SjqWaterProductionInspectionEquipment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqWaterProductionInspectionEquipment record);

    int updateByPrimaryKey(SjqWaterProductionInspectionEquipment record);

    List<SjqWaterProductionInspectionEquipment> findLast();

    List<SjqWaterProductionInspectionEquipment> selectAll();

    List<SjqWaterProductionInspectionEquipment> selectByDate(@Param("startDate") String startDate,
                                            @Param("endDate") String endDate);
}